package com.bwie.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class Product {
       @TableId(type = IdType.AUTO)
       private Integer id;
       private String productName;
       private String productIntro;
       private Double productPrice;
       private String productNums;
       private String productFirst;
       private String productSecond;

       private Integer userId;

       @TableField(exist = false)
       private List<Image> imageList;

       @TableField(exist = false)
       private String username;

       @TableField(exist = false)
       private String roleName;

       @TableField(exist = false)
       private String onename;

        @TableField(exist = false)
        private String twoname;




        @TableField(exist = false)
        private Integer pageNum;

        @TableField(exist = false)
        private Integer pageSize;


}
